.box {
  // width: 1024px;
  width: 100%;
  min-width: 320px;
  margin: 0 auto;
  background-color: red;
  padding: 20px;
  color: #fff;
  .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  ul {
    overflow: hidden;
    li {
      float: left;
      width: 25%;
      padding: 5px;
      a {
        display: block;
        img {
          display: block;
          width: 100%;
        }
      }
    }
  }
}

// w>=760 && w < 1024
@media all and (min-width: 760px) and (max-width: 1024px) {
  .box {
    // width: 760px;
    background-color: green;
    ul {
      li {
        width: 33.333%;
      }
    }
  }
}

// w>=520 && w < 760
@media all and (min-width: 520px) and (max-width: 760px) {
  .box {
    // width: 520px;
    background-color: blue;
    ul {
      li {
        width: 50%;
      }
    }
  }
}

// w < 520px
@media all and (max-width: 520px) {
  .box {
    // width: 100%;
    color: #000;
    background-color: yellow;
    ul {
      li {
        width: 100%;
      }
    }
  }
}
